package org.shiro.basic.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author LiKun
 * @date 2021/11/3 10:34
 */
@Data
@ApiModel("用户登录相关实体类")
public class Login implements Serializable {
    @ApiModelProperty(value = "key", notes = "key值")
    private String key;

    @ApiModelProperty(value = "code", notes = "验证码")
    private String code;

    @ApiModelProperty(value = "username", notes = "用户名称")
    private String username;

    @ApiModelProperty(value = "password", notes = "账号密码")
    private String password;

    @ApiModelProperty(value = "remember", notes = "是否自动登录")
    private boolean remember;
}
